﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Remoting.Messaging;

namespace Pixysoft.Framework.Logs.Core
{
    class DummyAspect : IMessageSink
    {
        internal DummyAspect(IMessageSink next)
        {
            m_next = next;
        }

        private IMessageSink m_next;

        public IMessageSink NextSink
        {
            get { return m_next; }
        }

        public IMessage SyncProcessMessage(IMessage msg)
        {
            return m_next.SyncProcessMessage(msg);
        }

        public IMessageCtrl AsyncProcessMessage(IMessage msg, IMessageSink replySink)
        {
            throw new InvalidOperationException();
        }
    }
}
